* {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

#root {
    width: 100%;
    height: 100%;
}

.box {
    width: 100%;
    height: 100%;
    position: relative;
}

.mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 0;
    top: 0;
}

.add {
    width: 400px;
    height: 400px;
    background: #fff;
    margin: 300px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.add input {
    display: block;
    width: 80%;
    height: 50px;
    margin: 20px;
}

.add button {
    width: 60px;
    line-height: 40px;
    text-align: center;
}

.list {
    margin-top: 20px;
}

.list li {
    display: flex;
    justify-content: space-around;
    border: 1px solid #023494;
    line-height: 40px;
    margin: 10px 0;
}

.list li p:nth-of-type(1) {
    background: #00f;
    padding: 0 10px;
}

.list li p:nth-of-type(2) {
    background: #f00;
    padding: 0 10px;
}